
const building = {
    namespaced: true,
    state: {
        dialogTitle: '',
        addForm: {
            id: 0,
            name: '',
            pid: 0
        }
    },
    mutations: {
        SET_TITLE (state, val) {
            state.dialogTitle = val
        },
        SET_ADDFORM (state, val) {
            state.addForm = val
        }
    }
}

export default building